<div :class="{ 'grid': true, 'show-paging-bar': isEnablePagingBar, 'hidden-paging-bar': !isEnablePagingBar }">
    <i-form>
    <el-table v-if="isDisplay === true"
        :default-sort="{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"  
        @sort-change="onSortChange($event)"  
        :border="isDragendCol"
        :highlight-current-row ="isSingleSelect"
        :row-class-name="getRowClassName.bind(_self)"
        :cell-class-name="getCellClassName.bind(_self)"
        size="mini"
        stripe
        @row-click="rowClick($event)"  
        @select-all="selectAll($event)"  
        @select="select($event)"  
        @row-class-name="onRowClassName($event)"  
        @row-dblclick="rowDBLClick($event)"  
        ref='multipleTable' :data="items" :show-header="!isHideHeader">
            <template slot="empty">
                无数据 
                <span class="quick-toolbar">
                </span>
            </template>
            <template v-if="!isSingleSelect">
                <el-table-column align="center" type='selection' :width="checkboxColWidth"></el-table-column>
            </template>
            <template v-if="getColumnState('eamassetstatemodelname')">
                <el-table-column show-overflow-tooltip :prop="'eamassetstatemodelname'" :label="$t('entities.eamassetstatemodelline.main_grid.columns.eamassetstatemodelname')" :width="200"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.eamassetstatemodelline.main_grid.columns.eamassetstatemodelname')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template v-if="actualIsOpenEdit">
                            <app-form-item :error="gridItemsModel[$index][column.property].error">
                                
            <app-picker 
              :formState="viewState" 
              :data="row"
              :context="context"
              :viewparams="viewparams"
              :localContext ='{ }' 
              :localParam ='{ }' 
              :disabled="row.srfuf === 1 ? (3 & 2) !== 2 : (3 & 1) !== 1" 
              name='eamassetstatemodelname'
              deMajorField='eamassetstatemodelname'
              deKeyField='eamassetstatemodel'
              :service="service"
              :acParams="{ serviceName: 'EAMAssetStateModelService', interfaceName: 'FetchDefault'}"
              valueitem='eamassetstatemodelid' 
              :value="row[column.property]" 
              editortype="" 
              :pickupView="{ viewname: 'eamasset-state-model-pickup-view', title: $t('entities.eamassetstatemodel.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'eamassetstatemodels', parameterName: 'eamassetstatemodel' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
              style=""  
              @formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}">
            </app-picker>
            
                            </app-form-item>
                        </template>
                        <template v-if="!actualIsOpenEdit">
            <app-span name='eamassetstatemodelname' editorType="PICKER" :value="row.eamassetstatemodelname" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('eamassetstatename')">
                <el-table-column show-overflow-tooltip :prop="'eamassetstatename'" :label="$t('entities.eamassetstatemodelline.main_grid.columns.eamassetstatename')" :width="200"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.eamassetstatemodelline.main_grid.columns.eamassetstatename')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template v-if="actualIsOpenEdit">
                            <app-form-item :error="gridItemsModel[$index][column.property].error">
                                
            <app-picker 
              :formState="viewState" 
              :data="row"
              :context="context"
              :viewparams="viewparams"
              :localContext ='{ }' 
              :localParam ='{ }' 
              :disabled="row.srfuf === 1 ? (3 & 2) !== 2 : (3 & 1) !== 1" 
              name='eamassetstatename'
              deMajorField='eamassetstatename'
              deKeyField='eamassetstate'
              :service="service"
              :acParams="{ serviceName: 'EAMAssetStateService', interfaceName: 'FetchDefault'}"
              valueitem='eamassetstateid' 
              :value="row[column.property]" 
              editortype="" 
              :pickupView="{ viewname: 'eamasset-state-pickup-view', title: $t('entities.eamassetstate.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'eamassetstates', parameterName: 'eamassetstate' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
              style=""  
              @formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}">
            </app-picker>
            
                            </app-form-item>
                        </template>
                        <template v-if="!actualIsOpenEdit">
            <app-span name='eamassetstatename' editorType="PICKER" :value="row.eamassetstatename" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="adaptiveState">
                <el-table-column></el-table-column>
            </template>
    </el-table>
  </i-form>
</div>